package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * 试题答案的附件资源类型
 */
public enum QuestionAnswerResourceTypeEnum implements IEnum {
	VIDEO(1, "视频"), AUDIO(2, "音频"), FILE(3, "文件"), IMG(4, "图片");
	private int key;
	private String value;

	private QuestionAnswerResourceTypeEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}
}
